<extend name="Layout/dialog" />
<block name="css"></block>
<block name="style"></block>
<block name="js"></block>
<block name="script"></block>
<block name="model">账户管理</block>
<block name="controller">版本管理</block>
<block name="action">新增版本</block>
<block name="desc"></block>
<block name="content">
<div class="box box-success">
	<div class="box-header with-border">
		<h3 class="box-title">新增版本</h3>
	</div>
	<form class="form-horizontal" action="{:U('save')}" method="post" rel-action="form" rel-success="reload()">
	<div class="box-body">	
		<div class="form-group">
			<label class="col-sm-2 control-label"><span class="text-red">*</span>业务类型</label>
			<div class="col-sm-10">
				<select class="form-control" rel-action="select" name="type_id">
					<option value="0">请选择业务类型</option>
					<volist name="type" id="item">
						<option value="{$item.type_id}">{$item.type_name}</option>
					</volist>
				</select>
			</div>
		</div>
		
		<div class="form-group">
			<label class="col-sm-2 control-label"><span class="text-red">*</span>版本号</label>
			<div class="col-sm-10">
				<input type="text" class="form-control" name="release" placeholder="请输入版本号,例：1.0.0.1"  autocomplete="off">
			</div>
		</div>
		<div class="form-group">
			<label class="col-sm-2 control-label"><span class="text-red">*</span>内部版本</label>
			<div class="col-sm-10">
				<input type="text" class="form-control" name="code" placeholder="请输入内部版本,例：1001"  autocomplete="off">
			</div>
		</div>
		<div class="form-group">
			<label class="col-sm-2 control-label"><span class="text-red">*</span>密钥</label>
			<div class="col-sm-10">
				<input type="text" class="form-control" name="key" placeholder="请输入密钥"  autocomplete="off">
			</div>
		</div>
		<div class="form-group">
			<label class="col-sm-2 control-label">提示信息</label>
			<div class="col-sm-10">
				<input type="text" class="form-control" name="message" placeholder="请输入提示信息"  autocomplete="off">
			</div>
		</div>
		<div class="form-group">
			<label class="col-sm-2 control-label">描述</label>
			<div class="col-sm-10">
				<textarea type="text" class="form-control" name="description" placeholder="请输入描述"  autocomplete="off"></textarea>
			</div>
		</div>
		<div class="form-group">
			<label class="col-sm-2 control-label">下载地址</label>
			<div class="col-sm-10">
				<input type="text" class="form-control" name="download" placeholder="请输入下载地址"  autocomplete="off">
			</div>
		</div>
		<div class="form-group">
			<label class="col-sm-2 control-label"><span class="text-red">*</span>设备名称</label>
			<div class="col-sm-10 radio">
				<label><input type="radio" name="platform" value="Android" checked="checked">Android</label>
				<label><input type="radio" name="platform" value="IOS">IOS</label>
			</div>
		</div>
		<div class="form-group">
			<label class="col-sm-2 control-label">是否通知</label>
			<div class="col-sm-10 radio">
				<label><input type="radio" name="notice" value="1">是</label>
				<label><input type="radio" name="notice" value="0" checked="checked">否</label>
			</div>
		</div>
		<div class="form-group">
			<label class="col-sm-2 control-label">状态</label>
			<div class="col-sm-10 radio">
				<label><input type="radio" name="status" value="1" checked="checked">正常</label>
				<label><input type="radio" name="status" value="0">锁定</label>
			</div>
		</div>
	</div>
	<div class="box-footer">
		<div class="col-sm-offset-2 col-sm-10">
			<button type="submit" class="btn btn-default">保存</button>
			<button type="button" class="btn btn-default" rel-action="dialog-close">关闭</button>
		</div>
	</div>
	</form>
</div>
</block>